package com.qfjg.webcore.log;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(value = "jg-log")
public interface LogAgentService {
    @PostMapping("/jg-log/log/saveLog")
    void saveLog(@RequestBody LogInfo logInfo, @RequestHeader("it") String id);
}
